package org.example.classtopia.Model.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 管理员统计数据VO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AdminStatisticsVO {
    
    private Long totalUsers;        // 用户总数
    private Long totalPosts;        // 帖子总数
    private Long activeUsers;       // 活跃用户数
    private Long bannedUsers;       // 被封禁用户数
    private Long normalPosts;       // 正常帖子数
    private Long bannedPosts;       // 被封禁帖子数
    private Long pendingReports;    // 待处理举报数（暂时设为0）
    
    public AdminStatisticsVO(Long totalUsers, Long totalPosts, Long activeUsers, Long pendingReports) {
        this.totalUsers = totalUsers;
        this.totalPosts = totalPosts;
        this.activeUsers = activeUsers;
        this.pendingReports = pendingReports;
    }
}
